home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 October / MACPOWER-1997-10.ISO.7z / MACPOWER-1997-10.ISO / AMUG / INTERNET / HTML Grinder 3.21.sit / HTML Grinder / Grinder Tools / Date Stamp / background_3885.xml next >
Extensible Markup Language  |  1997-07-01  |  3KB  |  44 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>3885</id>
  5.     <filler1>0</filler1>
  6.     <cantDelete> <false /> </cantDelete>
  7.     <showPict> <true /> </showPict>
  8.     <dontSearch> <false /> </dontSearch>
  9.     <link rel="stylesheet" type="text/css" href="stylesheet_3279.css" />
  10.     <part>
  11.         <id>5</id>
  12.         <type>button</type>
  13.         <visible> <true /> </visible>
  14.         <reserved5> 0 </reserved5>
  15.         <reserved4> 0 </reserved4>
  16.         <reserved3> 0 </reserved3>
  17.         <reserved2> 0 </reserved2>
  18.         <reserved1> 0 </reserved1>
  19.         <enabled> <true /> </enabled>
  20.         <rect>
  21.             <left>0</left>
  22.             <top>320</top>
  23.             <right>17</right>
  24.             <bottom>336</bottom>
  25.         </rect>
  26.         <style>opaque</style>
  27.         <showName> <false /> </showName>
  28.         <highlight> <false /> </highlight>
  29.         <autoHighlight> <true /> </autoHighlight>
  30.         <sharedHighlight> <true /> </sharedHighlight>
  31.         <family>0</family>
  32.         <titleWidth>0</titleWidth>
  33.         <icon>29540</icon>
  34.         <textAlign>center</textAlign>
  35.         <font>Chicago</font>
  36.         <textSize>12</textSize>
  37.         <textStyle>plain</textStyle>
  38.         <name>Help</name>
  39.         <script>on mouseUpfullhelpend mouseUpon mouseenterhelper "Click here for more help for HTML Grinder."end mouseenter</script>
  40.     </part>
  41.     <name></name>
  42.     <script>on openstackput dater() into cd fld thedatepass openstackend openstackfunction daterput the selectedtext of card btn "date format:" into themodedo ("put the" && themode && "date into thedate")return thedateend dateron converter thefile,thecontentsput filemoddate(thefile,false) into thedatedo "convert thedate to" && (the selectedtext of card btn "date format:") && "date"put cd fld beforedate & thedate & (cd fld afterdate) into thetext--put smartattach(thecontents,"<!--Date Stamp-->","<!--End of Date Stamp-->",theText,the selectedtext of cd btn "Insert",cd fld texto) into newcontents--if (newcontents <> thecontents) and ("error:" is not in newcontents)then ReplaceFile thefile,newcontentsend converteron alldoneglobal totalchangesget "A date stamp was added to" && totalchanges&&"files."put "0" into totalchangessend "alldone it" to homie()end alldoneon resetwheelput "<p><font size=-2>Last modified on: <b>" into cd fld beforedateput ".</b></font>" into cd fld afterdateput "</body>" into cd fld textoshow cd fld textoselect line 1 of cd btn "date format:"select line 3 of cd btn insertset the width of cd btn insert to 129set the left of cd btn insert to 9pass resetwheelend resetwheel</script>
  43. </background>
  44.